package com.bawei.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@ApiModel("es文档查询参数")
public class EsDocQueryVo extends EsDocBaseVo{
    @ApiModelProperty("query参数")
    private Map<String,Object> queryObj;
    @ApiModelProperty("全文检索关键字")
    private String keyWord;
    @ApiModelProperty("分页条件")
    private PageVo pageVo = new PageVo();
    @ApiModelProperty("检索字段")
    private List<String> searchFields;
    @ApiModelProperty("高亮字段，必须包含fields，如果不传，默认对fields进行全部高亮")
    private List<String> highLightFields;
}
